clear

cd "Write the path of data folder"

import excel Counterfactual.xlsx, sheet("AM") firstrow

replace Group1 = Group1*100

replace Group2 = Group2*100

replace Group3 = Group3*100

replace Group4 = Group4*100

		
* Figure 1: Middle Figure

twoway (line Group1 MultipleinAM, color(black) lpattern(line)) (line Group2 MultipleinAM, color(black) lpattern(dash)) ///
(connected Group3 MultipleinAM, color(black) lpattern(dott)) (connected Group4 MultipleinAM, color(black) lpattern(longdash)), ///
graphregion(color(gs15)) xtitle(Multiple of Merchant Usage Benefit) ytitle(CCounterfactual Fee (%)) xlabel(1(0.05)1.5) ylabel(, format(%9.2fc))
